<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>会员管理|信息后台管理系统</title>
		<link rel="shortcut icon" href="${request.contextPath}/bootstrap/img/loading.gif">
		<link rel="stylesheet" type="text/css" href="${request.contextPath}/res/jquery-easyui-1.3.6/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="${request.contextPath}/res/jquery-easyui-1.3.6/themes/icon.css">
		<script type="text/javascript" src="${request.contextPath}/res/jquery-easyui-1.3.6/jquery-1.11.1.js"></script>
		<script type="text/javascript" src="${request.contextPath}/res/jquery-easyui-1.3.6/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="${request.contextPath}/res/jquery-easyui-1.3.6/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="${request.contextPath}/res/jquery-easyui-1.3.6/members.js"></script>
		<style>
			._label{  
			    display: inline-block;  
			    vertical-align: middle;  
			    height: 20px;
			    line-height: 20px;
			}
			
			.show{
		font-size: 16px;
		width: 1450px;
		margin: 20px auto;
	}
	.show table{
		border-collapse: collapse;
		border: none;
		width: 1450px;
	}
	.show table td{
		padding: 5px;
		border: 1px solid #CCCCCC;
	}
	.show table td input[type=text]{
		width: 200px;
	}
	
	.show table td img{
		 margin: 5px
	}
	
	.show table td input[type=button]{
		font-size: 20px;
		cursor: pointer;
		background: #F05E0F;
		border: none;
		width: 150px;
		height: 30px;
	}
	
	
	#dd table tr:first-child{
		text-align: right;
	}	
		</style>

		<script>
			$(function(){
				//$("#datagrid").datagrid('loadData', jsondata);
			});
		</script>
	</head>

	<body id="body" class="easyui-layout" style="width: 100%; height: 100%;" scroll="no">
		<!-- 头部 -->
		<div data-options="region:'north',border:false, collapsible:false" title="会员单位信息管理" style="border: 0px red solid; overflow: hidden;">
			<div id="tbn" style="padding:5px 15px; height:auto, vertical-align: middle; font-size:16px; height: 60px;>
				<span class="_label">操作:</span>
				<a href="#" class="easyui-linkbutton" iconCls="icon-add" onclick="javascript:openAddWindow();">添加</a>
				<a href="#" class="easyui-linkbutton" iconCls="icon-edit" onclick="javascript:openUpdateWindow();">修改</a>
				<a href="#" class="easyui-linkbutton" iconCls="icon-cut" onclick="javascript:openDeleteWindow();">删除</a>
			</div>
		</div>
		<!-- 头部  end -->
		<div data-options="region:'center'">
			<table id="datagrid" class="easyui-datagrid" style="width:auto" data-options="url:'members/load', method:'post', rownumbers:true, pagination:false, fit:true, pagination:true, singleSelect:true, showFooter:true, striped:true,toolbar:'#tb'">
				<thead>
					<tr>
						<th data-options="field:'number', width:'100', align:'center'">会员编号</th>
						<th data-options="field:'name', width:'400'">会员名称</th>
						<th data-options="field:'url', width:'400'">会员网址</th>
						<th data-options="field:'city', width:'100', align:'center'">会员所在地</th>
						<th data-options="field:'phone', width:'100', align:'center'">联系电话</th>
						<th data-options="field:'date', width:'130', align:'center'">时间</th>
						<th data-options="field:'remark', width:'300'">备注</th>
					</tr>
				</thead>
			</table>
		</div>
		
		<div id="dd" class="easyui-dialog" title="会员信息维护" style="width:300px;height:220px; padding: 5px;"  
	        data-options="iconCls:'icon-save',closed:true,closable:false,
	        resizable:true,modal:true,
	        buttons:[{
				text:'确定',
				handler:addOrUpdate
			},{
				text:'关闭',
				handler:closeWindow
			}]">
			<input type="hidden" id="submitUrlFlag" value="0"/> 
		    <table border="0" cellspacing="0" cellpadding="0" style="margin:auto">
		    	<tr>
		    		<td style="text-align: right;">会员编号:</td>
		    		<td><input type="text" name="number" id="number" value="" /></td>
		    	</tr>
		    	<tr>
		    		<td style="text-align: right;">会员名称:</td>
		    		<td><input type="text" name="name" id="name" value="" /></td>
		    	</tr>
		    	<tr>
		    		<td style="text-align: right;">会员网址:</td>
		    		<td><input type="text" name="url" id="url" value="" /></td>
		    	</tr>
		    	<tr>
		    		<td style="text-align: right;">会员所在地:</td>
		    		<td><input type="text" name="city" id="city" value="" /></td>
		    	</tr>
		    	<tr>
		    		<td style="text-align: right;">会员电话:</td>
		    		<td><input type="text" name="phone" id="phone" value="" /></td>
		    	</tr>
		    	<tr>
		    		<td style="text-align: right;">备注信息:</td>
		    		<td><input type="text" name="remark" id="remark" value="" /></td>
		    	</tr>
		    </table>   
		</div>  
		
	</body>
</html>